package com.tanhua.dubbo.api;


import com.tanhua.domain.mongo.*;
import com.tanhua.domain.vo.QuestionListVo;

import java.util.List;

public interface TestSoulApi {
    List<PaperType> findPaper();

    List<QuestionList> findQuestionByPid(String paperId);

    List<OptionList> findOptionByPidAndQid(String paperId, String qid);

    SoulReport findReportByUserIdAndPid(Long userId, String pid);

    Integer findOptionScore(String questionId, String optionId);

    String findConclusionByReportType(Integer reportType);

    String findCoverByReportType(Integer reportType);

    void saveReport(SoulReport soulReport);

    SoulReport findReportByReportId(String reportId);

    List<SoulReport> findReportByReportType(Integer reportType);


    void saveQuestion(QuestionList questionList);

    void saveOption(OptionList optionList);

    QuestionList findQuestionById(String s);

    void saveReportType(ReportType reportType);
}
